package com.esun.payment_api.mapper;

import com.esun.payment_api.domain.RUserRole;
import com.esun.payment_api.domain.RUserRoleExample;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface RUserRoleMapper {
    long countByExample(RUserRoleExample example);

    int deleteByExample(RUserRoleExample example);

    int deleteByPrimaryKey(Short id);

    int insert(RUserRole record);

    int insertSelective(RUserRole record);

    List<RUserRole> selectByExample(RUserRoleExample example);

    RUserRole selectByPrimaryKey(Short id);

    int updateByExampleSelective(@Param("record") RUserRole record, @Param("example") RUserRoleExample example);

    int updateByExample(@Param("record") RUserRole record, @Param("example") RUserRoleExample example);

    int updateByPrimaryKeySelective(RUserRole record);

    int updateByPrimaryKey(RUserRole record);
}